// +----------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +----------------------------------------------------------------------
// | Copyright (c) 2016~2021 https://www.crmeb.com All rights reserved.
// +----------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +----------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +----------------------------------------------------------------------

import Layout from '@/layout'

const advertisingSpaceRouter = {
    path: '/safe1',
    component: Layout,
    redirect: '/safe/index',
    name: 'safe1',
    meta: {
        title: '安全部',
        icon: 'clipboard'
    },
    children: [
        {
            path: 'rectifyIndex',
            component: () => import('@/views/safe/rectify/rectifyIndex'),
            name: 'rectifyIndex',
            meta: { title: '隐患违章', icon: '' },
            children: [

                {
                    path: 'rectifycheckIndex',
                    component: () => import('@/views/safe/rectify/rectifycheck/rectifycheckIndex'),
                    name: 'rectifycheckIndex',
                    meta: { title: '检查单管理', icon: '' },

                },

                {

                    path: 'rectifyRectifyIndex',
                    component: () => import('@/views/safe/rectify/rectifyRectify/rectifyRectifyIndex'),
                    name: 'rectifyRectifyIndex',
                    meta: { title: '隐患登记管理', icon: '' }
                },
                {

                    path: 'rectifyRptIndex',
                    component: () => import('@/views/safe/rectify/rectifyRpt/rectifyRptIndex'),
                    name: 'rectifyRptIndex',
                    meta: { title: '隐患治理管理', icon: '' }
                },
                {


                    path: 'flowChart',
                    component: () => import('@/views/safe/rectify/rectifyRectify/flowChart'),
                    name: 'flowChart',
                    meta: { title: '流程图', icon: '' }
                },


            ]
        },
        {

            path: 'violateIndex',
            component: () => import('@/views/safe/violate/violateIndex'),
            name: 'violateIndex',
            meta: { title: '违章查处', icon: '' },
            children: [

                {
                    path: 'violateIndex',
                    component: () => import('@/views/safe/violate/violate/violateIndex'),
                    name: 'violateIndex',
                    meta: { title: '违章查处登记', icon: '' },

                },

                {

                    path: 'violateRptIndex',
                    component: () => import('@/views/safe/violate/violateRpt/violateRptIndex'),
                    name: 'violateRptIndex',
                    meta: { title: '违章查处报表', icon: '' }
                },

                {

                    path: 'violateFlowChart',
                    component: () => import('@/views/safe/violate/violate/flowChart'),
                    name: 'violateFlowChart',
                    meta: { title: '违章认定流程', icon: '' }
                },
            ]
        },
        {

            path: 'accidentIndex',
            component: () => import('@/views/safe/accident/accidentIndex'),
            name: 'accidentIndex',
            meta: { title: '事故处理', icon: '' },
            children: [

                {
                    path: 'accidentIndex',
                    component: () => import('@/views/safe/accident/accident/accidentIndex'),
                    name: 'accidentIndex',
                    meta: { title: '事故登记', icon: '' },

                },

                {

                    path: 'hurtIndex',
                    component: () => import('@/views/safe/accident/hurt/hurtIndex'),
                    name: 'hurtIndex',
                    meta: { title: '工伤登记', icon: '' }
                },

                {

                    path: 'hurtFlowChart',
                    component: () => import('@/views/safe/accident/hurt/flowChart'),
                    name: 'hurtFlowChart',
                    meta: { title: '工伤认定流程', icon: '' }
                },
            ]
        },
        {
            path: 'certIndex',
            component: () => import('@/views/safe/cert/certIndex'),
            name: 'certIndex',
            meta: { title: '人证管理', icon: '' },
            children: [

                {
                    path: 'perCcertRptIndex',
                    component: () => import('@/views/safe/cert/perCcertRpt/perCcertRptIndex'),
                    name: 'perCcertRptIndex',
                    meta: { title: '从业人证管理', icon: '' },

                },

                {

                    path: 'perCertIndex',
                    component: () => import('@/views/safe/cert/perCert/perCertIndex'),
                    name: 'perCertIndex',
                    meta: { title: '人员证书报表', icon: '' }
                },
            ]
        }, {
            path: 'certIndex',
            component: () => import('@/views/safe/meeting/meeting'),
            name: 'certIndex',
            meta: { title: '安全教育培训', icon: '' },
            children: [
                {

                    path: 'meetingIndex',
                    component: () => import('@/views/safe/meeting/meeting/meetingIndex'),
                    name: 'meetingIndex',
                    meta: { title: '安全教育培训', icon: '' }
                },
            ]
        },
        {
            path: 'devc',
            component: () => import('@/views/safe/devc/devc'),
            name: 'devc',
            meta: { title: '设备点检', icon: '' },
            children: [

                {

                    path: 'checkMgtIndex',
                    component: () => import('@/views/safe/devc/checkMgt/checkMgtIndex'),
                    name: 'checkMgtIndex',
                    meta: { title: '设备点检管理', icon: '' }
                },
                {

                    path: 'checkRptIndex',
                    component: () => import('@/views/safe/devc/checkRpt/checkRptIndex'),
                    name: 'checkRptIndex',
                    meta: { title: '设备检点报表', icon: '' }
                },
            ]
        },
        {
            path: 'certIndex',
            component: () => import('@/views/safe/meeting/meeting'),
            name: 'certIndex',
            meta: { title: '保洁签到', icon: '' },
            children: [
                {
                    path: 'signInIndex',
                    component: () => import('@/views/safe/clean/signIn/signInIndex'),
                    name: 'signInIndex',
                    meta: { title: '保洁签到报表', icon: '' }
                },
            ]
        },
        {
            path: 'certIndex',
            component: () => import('@/views/safe/fc/fc'),
            name: 'certIndex',
            meta: { title: '消控打卡', icon: '' },
            children: [
                {
                    path: 'clockIndex',
                    component: () => import('@/views/safe/fc/clock/clockIndex'),
                    name: 'clockIndex',
                    meta: { title: '消控打卡报表', icon: '' }
                },
            ]
        },
        {
            path: 'pm',
            component: () => import('@/views/safe/pm/pm'),
            name: 'pm',
            meta: { title: '停车包月管理', icon: '' },
            children: [

                {
                    path: 'applyIndex',
                    component: () => import('@/views/safe/pm/apply/applyIndex'),
                    name: 'applyIndex',
                    meta: { title: '停车包月申请管理', icon: '' }
                },
                {
                    path: 'applyFlowChart',
                    component: () => import('@/views/safe/pm/apply/flowChart'),
                    name: 'applyFlowChart',
                    meta: { title: '停车包月申请审批', icon: '' }
                },

                {
                    path: 'derateIndex',
                    component: () => import('@/views/safe/pm/derate/derateIndex'),
                    name: 'derateIndex',
                    meta: { title: '停车包月合同减免管理', icon: '' }
                },
                {
                    path: 'lpnChangeIndex',
                    component: () => import('@/views/safe/pm/lpnChange/lpnChangeIndex'),
                    name: 'lpnChangeIndex',
                    meta: { title: '包月合同车牌号变更管理', icon: '' }
                },
                {

                    path: 'refundIndex',
                    component: () => import('@/views/safe/pm/refund/refundIndex'),
                    name: 'refundIndex',
                    meta: { title: '包月合同退款管理', icon: '' }
                },
            ]
        },

    ]
}

export default advertisingSpaceRouter
